# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.contrib import admin

# Register your models here.
from prd.models import *


@admin.register(Update_info)
class UpdateAdmin(admin.ModelAdmin):
    list_display = ['update_name', 'update_version', 'update_status_number', 'year_plan_number', 'update_type_number',
                    'update_s_date', 'update_e_date', 'update_coder_number', 'task_status_number',
                    'update_manager_number','project_info_number']
    # 设置哪些字段可以点击进入编辑界面
    list_display_links = ('update_name', 'update_version')

admin.site.register(Task_status_info)
admin.site.register(Update_type_info)
admin.site.register(Year_plan_info)
admin.site.register(Update_status_info)